package br.com.comdoc.interfaces;

//@author Jorge

import java.sql.SQLException;
import java.util.ArrayList;


public interface InterfaceEndereco {
    
    public void salvarEndereco(String rua, String CEP, String bairro, String cidade, 
            String estado, String paiz) throws ClassNotFoundException, SQLException;
    
    public void alterarEndereco(int id, String rua, String CEP, String bairro, String cidade, 
            String estado, String paiz) throws ClassNotFoundException, SQLException;
    
    public void deletarEndereco(int id) throws ClassNotFoundException, SQLException;
    
    public ArrayList consultarEnderecoPorId(int id) throws ClassNotFoundException, 
            SQLException;  
    
    public int returnIdEndereco() throws ClassNotFoundException, 
    SQLException;
    
}
